Skip to content

fix compile bugs related to apmpi coll_sync mode - #17

Open
shanedsnyder wants to merge 1 commit into
argonne-lcf:mainfrom
shanedsnyder:snyder/apmpi-sync-compilation-fixes
Open

fix compile bugs related to apmpi coll_sync mode#17
shanedsnyder wants to merge 1 commit into
argonne-lcf:mainfrom
shanedsnyder:snyder/apmpi-sync-compilation-fixes

Conversation

@shanedsnyder

Copy link
Copy Markdown

Darshan MAP_OR_FAIL macro internally defines a temporary variable, so using this macro twice in one function will lead to "multiple definition" compilation errors.

To workaround, I added a secondary MAP_OR_FAIL_BARRIER macro that avoids redefining the variable but otherwise works the same.

Darshan MAP_OR_FAIL macro internally defines a temporary variable,
so using this macro twice in one function will lead to "multiple
definition" compilation errors.

To workaround, I added a secondary MAP_OR_FAIL_BARRIER macro that
avoids redefining the variable but otherwise works the same.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant